import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import index from './components/page/index.vue'
import setting from './components/page/setting.vue'
import bmb from './components/page/bmb.vue'
import zpjj from './components/page/zpjj.vue'
import yysm from './components/page/yysm.vue'
import azsm from './components/page/azsm.vue'
import zpxg from './components/page/zpxg.vue'
import sjsl from './components/page/sjsl.vue'
import zdnd from './components/page/zdnd.vue'
import dszp from './components/page/dszp.vue'
import qtsm from './components/page/qtsm.vue'
import ljtb from './components/page/ljtb.vue'
import dysc from './components/page/dysc.vue'
import Router from 'vue-router'

Vue.use(Router)
const router = new Router({
	routes : [{
			path: '/',
			component: index
		},
		{
			path: '/修改密码',
			component: setting
		},
		{
			path: '/报名表',
			component: bmb
		},
		{
			path: '/作品简介',
			component: zpjj
		},
		{
			path: '/引用说明',
			component: yysm
		},
		{
			path: '/安装说明',
			component: azsm
		},
		{
			path: '/作品效果',
			component: zpxg
		},
		{
			path: '/设计思路',
			component: sjsl
		},
		{
			path: '/重点难点',
			component: zdnd
		},
		{
			path: '/导师自评',
			component: dszp
		},
		{
			path: '/其他说明',
			component: qtsm
		},
		{
			path: '/链接填报',
			component: ljtb
		},
		{
			path: '/打印上传',
			component: dysc
		},
	]
})

Vue.use(ElementUI)

new Vue({
	el: '#app',
	router,
	render: h => h(App)
})
